<?php

use Illuminate\Database\Migrations\Migration;

class CreateMucdohoanthanhTable extends Migration
{
    /**
    * Run the migrations.
    *
    * @return void
    */
    public function up()
    {
        Schema::create('muc_do_hoan_thanh', function($table)
        {
            $table->engine='InnoDB';
            $table->increments('id')->unsigned();
            $table->string('mo_ta_muc_do', 50);
            $table->integer('thang_diem')->unsigned();
            $table->boolean('hien_thi');
        });
    }

    /**
    * reverse the migrations.
    *
    * @return void
    */
    public function down()
    {
        Schema::drop('muc_do_hoan_thanh');
    }
}